survey-vue3-ui 1.12.1 → 1.12.2
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/package.json +2 -2
- package/survey-vue3-ui.es.js +4358 -4300
- package/survey-vue3-ui.umd.js +1 -1
- package/types/Comment.vue.d.ts +0 -2
- package/types/QuestionOther.vue.d.ts +0 -2
- package/types/SvComponent.vue.d.ts +20 -0
- package/types/component-factory.d.ts +8 -0
- package/types/components/TextArea.vue.d.ts +16 -0
- package/types/directives/key2click.d.ts +3 -0
- package/types/index.d.ts +10 -1
package/types/Comment.vue.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { QuestionCommentModel } from "survey-core";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
question: QuestionCommentModel;
|
|
4
|
-
css?: object;
|
|
5
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
5
|
question: QuestionCommentModel;
|
|
7
|
-
css?: object;
|
|
8
6
|
}>>>, {}, {}>;
|
|
9
7
|
export default _default;
|
|
10
8
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { Question } from "survey-core";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
question: Question;
|
|
4
|
-
commentClass?: string;
|
|
5
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
5
|
question: Question;
|
|
7
|
-
commentClass?: string;
|
|
8
6
|
}>>>, {}, {}>;
|
|
9
7
|
export default _default;
|
|
10
8
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
is: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
is: string;
|
|
5
|
+
}>>>, {}, {}>, Partial<Record<string | number, (_: any) => any>>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class ComponentFactory {
|
|
2
|
+
static Instance: ComponentFactory;
|
|
3
|
+
private creatorHash;
|
|
4
|
+
registerComponent(typeName: string, componentType: any): void;
|
|
5
|
+
getComponent(typeName: string): any;
|
|
6
|
+
getAllTypes(): Array<string>;
|
|
7
|
+
isComponentRegistered(elementType: string): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TextAreaModel } from "survey-core";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
model: TextAreaModel;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
model: TextAreaModel;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import SurveyVue from "./Survey.vue";
|
|
2
|
+
import PopupSurvey from "./PopupSurvey.vue";
|
|
3
|
+
import type { App } from "vue";
|
|
4
|
+
import { ComponentFactory } from "./component-factory";
|
|
1
5
|
export { useBase, useLocString, useQuestion, useComputedArray } from "./base";
|
|
6
|
+
export { ComponentFactory };
|
|
7
|
+
export { key2ClickDirective } from "./directives/key2click";
|
|
8
|
+
export { default as SvComponent } from "./SvComponent.vue";
|
|
9
|
+
export { PopupSurvey as PopupSurveyComponent };
|
|
10
|
+
export { SurveyVue as SurveyComponent };
|
|
2
11
|
export declare const surveyPlugin: {
|
|
3
|
-
install(app:
|
|
12
|
+
install(app: App): void;
|
|
4
13
|
};
|