survey-vue3-ui 2.3.7 → 2.3.8
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 +1757 -1719
- package/survey-vue3-ui.umd.js +5 -5
- package/types/Matrix.vue.d.ts +1 -1
- package/types/MatrixDropdownRow.vue.d.ts +16 -0
- package/types/MatrixRow.vue.d.ts +3 -3
- package/types/MultipleTextRow.vue.d.ts +16 -0
- package/types/base.d.ts +0 -1
- package/types/components/QuestionError.vue.d.ts +0 -1
- package/types/index.d.ts +1 -1
package/types/Matrix.vue.d.ts
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModel } from "survey-core";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
question: QuestionMatrixDropdownModel;
|
|
4
|
+
row: QuestionMatrixDropdownRenderedRow;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<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/MatrixRow.vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MatrixRowModel, QuestionMatrixModel } from "survey-core";
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
question:
|
|
4
|
-
row:
|
|
3
|
+
question: QuestionMatrixModel;
|
|
4
|
+
row: MatrixRowModel;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { MutlipleTextRow, QuestionMultipleTextModel } from 'survey-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
question: QuestionMultipleTextModel;
|
|
4
|
+
row: MutlipleTextRow;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<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/base.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export declare function useQuestion<T extends Question>(props: {
|
|
|
9
9
|
}, root: Ref, onQuestionChanged?: (newValue: T) => void, clean?: (question: T) => void): void;
|
|
10
10
|
export declare function useLocString(getLocString: () => LocalizableString): Ref<string>;
|
|
11
11
|
export declare function getComponentName(question: Question): string;
|
|
12
|
-
export declare function useComputedArray<T>(func: () => Array<T>): import("vue").ShallowRef<any>;
|
package/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import SurveyVue from "./Survey.vue";
|
|
|
2
2
|
import PopupSurvey from "./PopupSurvey.vue";
|
|
3
3
|
import type { App } from "vue";
|
|
4
4
|
import { ComponentFactory } from "./component-factory";
|
|
5
|
-
export { useBase, useLocString, useQuestion
|
|
5
|
+
export { useBase, useLocString, useQuestion } from "./base";
|
|
6
6
|
export { ComponentFactory };
|
|
7
7
|
export { key2ClickDirective } from "./directives/key2click";
|
|
8
8
|
export { default as SvComponent } from "./SvComponent.vue";
|