@polyv/answer-card-ui-launch 2.6.0-rc-20260625.4 → 2.7.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/index.es.d.ts +32 -0
- package/index.es.js +28580 -22868
- package/index.umd.js +120 -120
- package/package.json +1 -1
package/index.es.d.ts
CHANGED
|
@@ -83,6 +83,11 @@ default: number;
|
|
|
83
83
|
} & {
|
|
84
84
|
default: number;
|
|
85
85
|
};
|
|
86
|
+
answerContentBlankEnabled: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
|
|
87
|
+
default: boolean;
|
|
88
|
+
} & {
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
86
91
|
}, {
|
|
87
92
|
refreshDetail: () => Promise<void>;
|
|
88
93
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -135,6 +140,11 @@ default: number;
|
|
|
135
140
|
} & {
|
|
136
141
|
default: number;
|
|
137
142
|
};
|
|
143
|
+
answerContentBlankEnabled: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
|
|
144
|
+
default: boolean;
|
|
145
|
+
} & {
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
138
148
|
}>>, {
|
|
139
149
|
questionId: string;
|
|
140
150
|
defaultLimitTimeAnswer: boolean;
|
|
@@ -142,6 +152,7 @@ value: boolean;
|
|
|
142
152
|
canStart: boolean;
|
|
143
153
|
cantStartTips: string;
|
|
144
154
|
defaultLimitDuration: number;
|
|
155
|
+
answerContentBlankEnabled: boolean;
|
|
145
156
|
launchStatus: string;
|
|
146
157
|
launchSubmittedCount: number;
|
|
147
158
|
}>;
|
|
@@ -208,6 +219,12 @@ export declare const answerCardLaunchDetailProps: () => {
|
|
|
208
219
|
} & {
|
|
209
220
|
default: number;
|
|
210
221
|
};
|
|
222
|
+
/** 是否启用旧数据空题干/空选项兼容。 */
|
|
223
|
+
answerContentBlankEnabled: VueTypeValidableDef_2<boolean, ValidatorFunction<boolean>> & {
|
|
224
|
+
default: boolean;
|
|
225
|
+
} & {
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
211
228
|
};
|
|
212
229
|
|
|
213
230
|
export declare interface AnswerCardLaunchEndPayload {
|
|
@@ -881,6 +898,8 @@ answerCardTarget: VueTypeValidableDef<AnswerCard, ValidatorFunction<AnswerCard>>
|
|
|
881
898
|
required: true;
|
|
882
899
|
};
|
|
883
900
|
}, {
|
|
901
|
+
platformQuestionnaireActionLoading: Ref<boolean>;
|
|
902
|
+
openPlatformQuestionnairePopup: () => void;
|
|
884
903
|
refreshList: () => Promise<void>;
|
|
885
904
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
886
905
|
refresh: (arg?: void | undefined) => void;
|
|
@@ -1491,12 +1510,25 @@ export declare const useAnswerCardTemplateList: (options: {
|
|
|
1491
1510
|
name: string;
|
|
1492
1511
|
status: "error" | "unused" | "used";
|
|
1493
1512
|
}[]>;
|
|
1513
|
+
platformQuestionnaireActionLoading: Ref<boolean>;
|
|
1514
|
+
platformQuestionnaireVisible: Ref<boolean>;
|
|
1515
|
+
loadingPlatformQuestionnaires: Ref<boolean>;
|
|
1516
|
+
loadingPlatformQuestionnairePopup: Ref<boolean>;
|
|
1517
|
+
platformQuestionnaireKeyword: Ref<string>;
|
|
1518
|
+
platformQuestionnairePageContent: ComputedRef<PlatformQuestionnairePageContentData>;
|
|
1519
|
+
refreshPlatformQuestionnaireList: (pageContent?: PlatformQuestionnairePageContentData) => Promise<void>;
|
|
1520
|
+
handlePlatformQuestionnaireScroll: (event: Event) => void;
|
|
1521
|
+
changePlatformQuestionnairePage: (pageContent: PlatformQuestionnairePageContentData) => void;
|
|
1522
|
+
closePlatformQuestionnairePopup: () => void;
|
|
1494
1523
|
formatStatus: (status: "error" | "unused" | "used") => string;
|
|
1495
1524
|
getApplyButtonAttrs: (template: TemplateItemData) => {
|
|
1496
1525
|
disabled: boolean;
|
|
1497
1526
|
'aria-disabled': string | undefined;
|
|
1498
1527
|
tabindex: number | undefined;
|
|
1499
1528
|
};
|
|
1529
|
+
openPlatformQuestionnairePopup: () => void;
|
|
1530
|
+
setPlatformQuestionnaireScrollElement: (element?: HTMLElement) => void;
|
|
1531
|
+
addPlatformQuestionnaire: (item: PlatformQuestionnaireItemData) => Promise<void>;
|
|
1500
1532
|
refreshList: () => Promise<void>;
|
|
1501
1533
|
applyTemplate: (template: TemplateItemData) => Promise<void>;
|
|
1502
1534
|
};
|