optimized-react-component-library-xyz123 0.1.93 → 0.1.94
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/index.d.mts +139 -2
- package/dist/index.d.ts +139 -2
- package/dist/index.js +188 -2
- package/dist/index.mjs +188 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import * as reselect from 'reselect';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
4
|
+
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
5
5
|
import * as immer from 'immer';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -309,6 +309,143 @@ declare const makeLanguageSelectors: <TState>(selectSlice: (state: TState) => La
|
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
+
declare const createQuestionsSlice: (initialState: IFormState, options?: {
|
|
313
|
+
name?: string;
|
|
314
|
+
extraReducers?: (builder: ActionReducerMapBuilder<IFormState>) => void;
|
|
315
|
+
}) => _reduxjs_toolkit.Slice<IFormState, {
|
|
316
|
+
AddApplicationContentFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
317
|
+
AddStepsFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
318
|
+
AddQuestionsFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
319
|
+
AddAnswer: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
320
|
+
AddFiles: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
321
|
+
RemoveAllQuestionsDisplayedInStep: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
322
|
+
AddQuestionDisplayed: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
323
|
+
RemoveAllAnswersForward: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
324
|
+
}, string, string, _reduxjs_toolkit.SliceSelectors<IFormState>>;
|
|
325
|
+
declare const makeQuestionsSelectors: <TState>(selectSlice: (state: TState) => IFormState) => {
|
|
326
|
+
selectStateQuestion: (state: TState) => IFormState;
|
|
327
|
+
selectIsQuestionLoaded: (state: TState) => boolean;
|
|
328
|
+
selectApplicationContentFromLanguageSupport: ((state: TState, activatedLanguage: string) => {
|
|
329
|
+
mainHeadline: string;
|
|
330
|
+
ingressBody: string;
|
|
331
|
+
linksForMoreInfo: never[];
|
|
332
|
+
pageTitle: string;
|
|
333
|
+
textblocks: never[];
|
|
334
|
+
languageSupport?: undefined;
|
|
335
|
+
} | {
|
|
336
|
+
mainHeadline: any;
|
|
337
|
+
ingressBody: any;
|
|
338
|
+
linksForMoreInfo: any;
|
|
339
|
+
pageTitle: any;
|
|
340
|
+
textblocks: any;
|
|
341
|
+
languageSupport: any;
|
|
342
|
+
}) & {
|
|
343
|
+
clearCache: () => void;
|
|
344
|
+
resultsCount: () => number;
|
|
345
|
+
resetResultsCount: () => void;
|
|
346
|
+
} & {
|
|
347
|
+
resultFunc: (resultFuncArgs_0: IApplicationContent, resultFuncArgs_1: string) => {
|
|
348
|
+
mainHeadline: string;
|
|
349
|
+
ingressBody: string;
|
|
350
|
+
linksForMoreInfo: never[];
|
|
351
|
+
pageTitle: string;
|
|
352
|
+
textblocks: never[];
|
|
353
|
+
languageSupport?: undefined;
|
|
354
|
+
} | {
|
|
355
|
+
mainHeadline: any;
|
|
356
|
+
ingressBody: any;
|
|
357
|
+
linksForMoreInfo: any;
|
|
358
|
+
pageTitle: any;
|
|
359
|
+
textblocks: any;
|
|
360
|
+
languageSupport: any;
|
|
361
|
+
};
|
|
362
|
+
memoizedResultFunc: ((resultFuncArgs_0: IApplicationContent, resultFuncArgs_1: string) => {
|
|
363
|
+
mainHeadline: string;
|
|
364
|
+
ingressBody: string;
|
|
365
|
+
linksForMoreInfo: never[];
|
|
366
|
+
pageTitle: string;
|
|
367
|
+
textblocks: never[];
|
|
368
|
+
languageSupport?: undefined;
|
|
369
|
+
} | {
|
|
370
|
+
mainHeadline: any;
|
|
371
|
+
ingressBody: any;
|
|
372
|
+
linksForMoreInfo: any;
|
|
373
|
+
pageTitle: any;
|
|
374
|
+
textblocks: any;
|
|
375
|
+
languageSupport: any;
|
|
376
|
+
}) & {
|
|
377
|
+
clearCache: () => void;
|
|
378
|
+
resultsCount: () => number;
|
|
379
|
+
resetResultsCount: () => void;
|
|
380
|
+
};
|
|
381
|
+
lastResult: () => {
|
|
382
|
+
mainHeadline: string;
|
|
383
|
+
ingressBody: string;
|
|
384
|
+
linksForMoreInfo: never[];
|
|
385
|
+
pageTitle: string;
|
|
386
|
+
textblocks: never[];
|
|
387
|
+
languageSupport?: undefined;
|
|
388
|
+
} | {
|
|
389
|
+
mainHeadline: any;
|
|
390
|
+
ingressBody: any;
|
|
391
|
+
linksForMoreInfo: any;
|
|
392
|
+
pageTitle: any;
|
|
393
|
+
textblocks: any;
|
|
394
|
+
languageSupport: any;
|
|
395
|
+
};
|
|
396
|
+
dependencies: [(state: TState) => IApplicationContent, (_: TState, activatedLanguage: string) => string];
|
|
397
|
+
recomputations: () => number;
|
|
398
|
+
resetRecomputations: () => void;
|
|
399
|
+
dependencyRecomputations: () => number;
|
|
400
|
+
resetDependencyRecomputations: () => void;
|
|
401
|
+
} & {
|
|
402
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
403
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
404
|
+
};
|
|
405
|
+
selectStepFromLanguageSupport: ((state: TState, activatedLanguage: string) => any[]) & {
|
|
406
|
+
clearCache: () => void;
|
|
407
|
+
resultsCount: () => number;
|
|
408
|
+
resetResultsCount: () => void;
|
|
409
|
+
} & {
|
|
410
|
+
resultFunc: (resultFuncArgs_0: IStepObject[], resultFuncArgs_1: string) => any[];
|
|
411
|
+
memoizedResultFunc: ((resultFuncArgs_0: IStepObject[], resultFuncArgs_1: string) => any[]) & {
|
|
412
|
+
clearCache: () => void;
|
|
413
|
+
resultsCount: () => number;
|
|
414
|
+
resetResultsCount: () => void;
|
|
415
|
+
};
|
|
416
|
+
lastResult: () => any[];
|
|
417
|
+
dependencies: [(state: TState) => IStepObject[], (_: TState, activatedLanguage: string) => string];
|
|
418
|
+
recomputations: () => number;
|
|
419
|
+
resetRecomputations: () => void;
|
|
420
|
+
dependencyRecomputations: () => number;
|
|
421
|
+
resetDependencyRecomputations: () => void;
|
|
422
|
+
} & {
|
|
423
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
424
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
425
|
+
};
|
|
426
|
+
selectQuestionFromLanguageSupport: ((state: TState, activatedLanguage: string) => any[]) & {
|
|
427
|
+
clearCache: () => void;
|
|
428
|
+
resultsCount: () => number;
|
|
429
|
+
resetResultsCount: () => void;
|
|
430
|
+
} & {
|
|
431
|
+
resultFunc: (resultFuncArgs_0: IQuestion[], resultFuncArgs_1: string) => any[];
|
|
432
|
+
memoizedResultFunc: ((resultFuncArgs_0: IQuestion[], resultFuncArgs_1: string) => any[]) & {
|
|
433
|
+
clearCache: () => void;
|
|
434
|
+
resultsCount: () => number;
|
|
435
|
+
resetResultsCount: () => void;
|
|
436
|
+
};
|
|
437
|
+
lastResult: () => any[];
|
|
438
|
+
dependencies: [(state: TState) => IQuestion[], (_: TState, activatedLanguage: string) => string];
|
|
439
|
+
recomputations: () => number;
|
|
440
|
+
resetRecomputations: () => void;
|
|
441
|
+
dependencyRecomputations: () => number;
|
|
442
|
+
resetDependencyRecomputations: () => void;
|
|
443
|
+
} & {
|
|
444
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
445
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
|
|
312
449
|
declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPreview, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
313
450
|
|
|
314
451
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
@@ -415,4 +552,4 @@ interface CookieBannerProps {
|
|
|
415
552
|
|
|
416
553
|
declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
417
554
|
|
|
418
|
-
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList, createLanguageSlice, makeLanguageSelectors };
|
|
555
|
+
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList, createLanguageSlice, createQuestionsSlice, makeLanguageSelectors, makeQuestionsSelectors };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import * as reselect from 'reselect';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
4
|
+
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
5
5
|
import * as immer from 'immer';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -309,6 +309,143 @@ declare const makeLanguageSelectors: <TState>(selectSlice: (state: TState) => La
|
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
+
declare const createQuestionsSlice: (initialState: IFormState, options?: {
|
|
313
|
+
name?: string;
|
|
314
|
+
extraReducers?: (builder: ActionReducerMapBuilder<IFormState>) => void;
|
|
315
|
+
}) => _reduxjs_toolkit.Slice<IFormState, {
|
|
316
|
+
AddApplicationContentFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
317
|
+
AddStepsFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
318
|
+
AddQuestionsFromLanguageSupport: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
319
|
+
AddAnswer: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
320
|
+
AddFiles: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
321
|
+
RemoveAllQuestionsDisplayedInStep: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
322
|
+
AddQuestionDisplayed: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
323
|
+
RemoveAllAnswersForward: (state: immer.WritableDraft<IFormState>, action: PayloadAction<any>) => void;
|
|
324
|
+
}, string, string, _reduxjs_toolkit.SliceSelectors<IFormState>>;
|
|
325
|
+
declare const makeQuestionsSelectors: <TState>(selectSlice: (state: TState) => IFormState) => {
|
|
326
|
+
selectStateQuestion: (state: TState) => IFormState;
|
|
327
|
+
selectIsQuestionLoaded: (state: TState) => boolean;
|
|
328
|
+
selectApplicationContentFromLanguageSupport: ((state: TState, activatedLanguage: string) => {
|
|
329
|
+
mainHeadline: string;
|
|
330
|
+
ingressBody: string;
|
|
331
|
+
linksForMoreInfo: never[];
|
|
332
|
+
pageTitle: string;
|
|
333
|
+
textblocks: never[];
|
|
334
|
+
languageSupport?: undefined;
|
|
335
|
+
} | {
|
|
336
|
+
mainHeadline: any;
|
|
337
|
+
ingressBody: any;
|
|
338
|
+
linksForMoreInfo: any;
|
|
339
|
+
pageTitle: any;
|
|
340
|
+
textblocks: any;
|
|
341
|
+
languageSupport: any;
|
|
342
|
+
}) & {
|
|
343
|
+
clearCache: () => void;
|
|
344
|
+
resultsCount: () => number;
|
|
345
|
+
resetResultsCount: () => void;
|
|
346
|
+
} & {
|
|
347
|
+
resultFunc: (resultFuncArgs_0: IApplicationContent, resultFuncArgs_1: string) => {
|
|
348
|
+
mainHeadline: string;
|
|
349
|
+
ingressBody: string;
|
|
350
|
+
linksForMoreInfo: never[];
|
|
351
|
+
pageTitle: string;
|
|
352
|
+
textblocks: never[];
|
|
353
|
+
languageSupport?: undefined;
|
|
354
|
+
} | {
|
|
355
|
+
mainHeadline: any;
|
|
356
|
+
ingressBody: any;
|
|
357
|
+
linksForMoreInfo: any;
|
|
358
|
+
pageTitle: any;
|
|
359
|
+
textblocks: any;
|
|
360
|
+
languageSupport: any;
|
|
361
|
+
};
|
|
362
|
+
memoizedResultFunc: ((resultFuncArgs_0: IApplicationContent, resultFuncArgs_1: string) => {
|
|
363
|
+
mainHeadline: string;
|
|
364
|
+
ingressBody: string;
|
|
365
|
+
linksForMoreInfo: never[];
|
|
366
|
+
pageTitle: string;
|
|
367
|
+
textblocks: never[];
|
|
368
|
+
languageSupport?: undefined;
|
|
369
|
+
} | {
|
|
370
|
+
mainHeadline: any;
|
|
371
|
+
ingressBody: any;
|
|
372
|
+
linksForMoreInfo: any;
|
|
373
|
+
pageTitle: any;
|
|
374
|
+
textblocks: any;
|
|
375
|
+
languageSupport: any;
|
|
376
|
+
}) & {
|
|
377
|
+
clearCache: () => void;
|
|
378
|
+
resultsCount: () => number;
|
|
379
|
+
resetResultsCount: () => void;
|
|
380
|
+
};
|
|
381
|
+
lastResult: () => {
|
|
382
|
+
mainHeadline: string;
|
|
383
|
+
ingressBody: string;
|
|
384
|
+
linksForMoreInfo: never[];
|
|
385
|
+
pageTitle: string;
|
|
386
|
+
textblocks: never[];
|
|
387
|
+
languageSupport?: undefined;
|
|
388
|
+
} | {
|
|
389
|
+
mainHeadline: any;
|
|
390
|
+
ingressBody: any;
|
|
391
|
+
linksForMoreInfo: any;
|
|
392
|
+
pageTitle: any;
|
|
393
|
+
textblocks: any;
|
|
394
|
+
languageSupport: any;
|
|
395
|
+
};
|
|
396
|
+
dependencies: [(state: TState) => IApplicationContent, (_: TState, activatedLanguage: string) => string];
|
|
397
|
+
recomputations: () => number;
|
|
398
|
+
resetRecomputations: () => void;
|
|
399
|
+
dependencyRecomputations: () => number;
|
|
400
|
+
resetDependencyRecomputations: () => void;
|
|
401
|
+
} & {
|
|
402
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
403
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
404
|
+
};
|
|
405
|
+
selectStepFromLanguageSupport: ((state: TState, activatedLanguage: string) => any[]) & {
|
|
406
|
+
clearCache: () => void;
|
|
407
|
+
resultsCount: () => number;
|
|
408
|
+
resetResultsCount: () => void;
|
|
409
|
+
} & {
|
|
410
|
+
resultFunc: (resultFuncArgs_0: IStepObject[], resultFuncArgs_1: string) => any[];
|
|
411
|
+
memoizedResultFunc: ((resultFuncArgs_0: IStepObject[], resultFuncArgs_1: string) => any[]) & {
|
|
412
|
+
clearCache: () => void;
|
|
413
|
+
resultsCount: () => number;
|
|
414
|
+
resetResultsCount: () => void;
|
|
415
|
+
};
|
|
416
|
+
lastResult: () => any[];
|
|
417
|
+
dependencies: [(state: TState) => IStepObject[], (_: TState, activatedLanguage: string) => string];
|
|
418
|
+
recomputations: () => number;
|
|
419
|
+
resetRecomputations: () => void;
|
|
420
|
+
dependencyRecomputations: () => number;
|
|
421
|
+
resetDependencyRecomputations: () => void;
|
|
422
|
+
} & {
|
|
423
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
424
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
425
|
+
};
|
|
426
|
+
selectQuestionFromLanguageSupport: ((state: TState, activatedLanguage: string) => any[]) & {
|
|
427
|
+
clearCache: () => void;
|
|
428
|
+
resultsCount: () => number;
|
|
429
|
+
resetResultsCount: () => void;
|
|
430
|
+
} & {
|
|
431
|
+
resultFunc: (resultFuncArgs_0: IQuestion[], resultFuncArgs_1: string) => any[];
|
|
432
|
+
memoizedResultFunc: ((resultFuncArgs_0: IQuestion[], resultFuncArgs_1: string) => any[]) & {
|
|
433
|
+
clearCache: () => void;
|
|
434
|
+
resultsCount: () => number;
|
|
435
|
+
resetResultsCount: () => void;
|
|
436
|
+
};
|
|
437
|
+
lastResult: () => any[];
|
|
438
|
+
dependencies: [(state: TState) => IQuestion[], (_: TState, activatedLanguage: string) => string];
|
|
439
|
+
recomputations: () => number;
|
|
440
|
+
resetRecomputations: () => void;
|
|
441
|
+
dependencyRecomputations: () => number;
|
|
442
|
+
resetDependencyRecomputations: () => void;
|
|
443
|
+
} & {
|
|
444
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
445
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
|
|
312
449
|
declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPreview, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
313
450
|
|
|
314
451
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
@@ -415,4 +552,4 @@ interface CookieBannerProps {
|
|
|
415
552
|
|
|
416
553
|
declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
417
554
|
|
|
418
|
-
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList, createLanguageSlice, makeLanguageSelectors };
|
|
555
|
+
export { AddFiles as AddFilesStandard, CookieBanner, CreateApiDataObject, doCategoriesAndQuestionsVisible as DoCategoriesAndQuestionsVisible, EditPreviewLink as EditPreviewLinkStandard, FilesUpload as FilesUploadStandard, Footer as FooterStandard, groupQuestionByStepPreviewPage as GroupQuestionByStepPreviewPage, groupQuestionsByStepCategoryGroup as GroupQuestionsByStepCategoryGroup, Header as HeaderStandard, type IApplicationContent, type IFormState, type ILanguage, type ILanguageSupport, ILanguageSupportinitialState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InfoOnly as InfoOnlyStandard, isDependsOnOtherQuestionTrue as IsDependsOnOtherQuestionTrue, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, questionHasValidationError as QuestionHasValidationError, QuestioninitialState, InputRadio as RadioMultipleStandard, RenderQuestion, RenderQuestionGroup, ServiceHeadlineAndBody as ServiceHeadlineAndBodyStandard, SkipLink as SkipLinkStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextFieldStandard, TextHeadlineAndBody as TextHeadlineAndBodyStandard, validationCheckAllVisibleQuestions as ValidationCheckAllVisibleQuestion, ValidationErrorSummaryList, createLanguageSlice, createQuestionsSlice, makeLanguageSelectors, makeQuestionsSelectors };
|
package/dist/index.js
CHANGED
|
@@ -61,7 +61,9 @@ __export(index_exports, {
|
|
|
61
61
|
ValidationCheckAllVisibleQuestion: () => ValidationCheckAllVisibleQuestion_default,
|
|
62
62
|
ValidationErrorSummaryList: () => ValidationErrorSummaryList_default,
|
|
63
63
|
createLanguageSlice: () => createLanguageSlice,
|
|
64
|
-
|
|
64
|
+
createQuestionsSlice: () => createQuestionsSlice,
|
|
65
|
+
makeLanguageSelectors: () => makeLanguageSelectors,
|
|
66
|
+
makeQuestionsSelectors: () => makeQuestionsSelectors
|
|
65
67
|
});
|
|
66
68
|
module.exports = __toCommonJS(index_exports);
|
|
67
69
|
|
|
@@ -1636,6 +1638,188 @@ var makeLanguageSelectors = (selectSlice) => {
|
|
|
1636
1638
|
};
|
|
1637
1639
|
};
|
|
1638
1640
|
|
|
1641
|
+
// src/NewHelpMethodsStandard/QuestionSlice/questionSlice.ts
|
|
1642
|
+
var import_toolkit2 = require("@reduxjs/toolkit");
|
|
1643
|
+
var createQuestionsSlice = (initialState, options) => {
|
|
1644
|
+
var _a;
|
|
1645
|
+
const slice = (0, import_toolkit2.createSlice)({
|
|
1646
|
+
name: (_a = options == null ? void 0 : options.name) != null ? _a : "Form",
|
|
1647
|
+
initialState,
|
|
1648
|
+
reducers: {
|
|
1649
|
+
AddApplicationContentFromLanguageSupport: (state, action) => {
|
|
1650
|
+
state.applicationContent = action.payload;
|
|
1651
|
+
state.questionsLoaded = true;
|
|
1652
|
+
},
|
|
1653
|
+
AddStepsFromLanguageSupport: (state, action) => {
|
|
1654
|
+
state.steps = action.payload;
|
|
1655
|
+
},
|
|
1656
|
+
AddQuestionsFromLanguageSupport: (state, action) => {
|
|
1657
|
+
state.questions = action.payload;
|
|
1658
|
+
},
|
|
1659
|
+
AddAnswer: (state, action) => {
|
|
1660
|
+
state.questions = state.questions.map((qObject) => {
|
|
1661
|
+
if (qObject.id === action.payload.id) {
|
|
1662
|
+
return {
|
|
1663
|
+
...qObject,
|
|
1664
|
+
answer: action.payload.answer
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
return qObject;
|
|
1668
|
+
});
|
|
1669
|
+
},
|
|
1670
|
+
AddFiles: (state, action) => {
|
|
1671
|
+
state.questions = state.questions.map((qObject) => {
|
|
1672
|
+
if (qObject.id === action.payload.id) {
|
|
1673
|
+
return {
|
|
1674
|
+
...qObject,
|
|
1675
|
+
files: action.payload.files
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1678
|
+
return qObject;
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
1681
|
+
RemoveAllQuestionsDisplayedInStep: (state, action) => {
|
|
1682
|
+
const { activeStep } = action.payload;
|
|
1683
|
+
state.questions = state.questions.map((qObject) => {
|
|
1684
|
+
if (qObject.step >= activeStep) {
|
|
1685
|
+
return {
|
|
1686
|
+
...qObject,
|
|
1687
|
+
isDisplayed: false
|
|
1688
|
+
};
|
|
1689
|
+
}
|
|
1690
|
+
return qObject;
|
|
1691
|
+
});
|
|
1692
|
+
},
|
|
1693
|
+
AddQuestionDisplayed: (state, action) => {
|
|
1694
|
+
state.questions = state.questions.map((qObject) => {
|
|
1695
|
+
if (qObject.id === action.payload.id) {
|
|
1696
|
+
return {
|
|
1697
|
+
...qObject,
|
|
1698
|
+
isDisplayed: action.payload.isDisplayed
|
|
1699
|
+
};
|
|
1700
|
+
}
|
|
1701
|
+
return qObject;
|
|
1702
|
+
});
|
|
1703
|
+
},
|
|
1704
|
+
RemoveAllAnswersForward: (state, action) => {
|
|
1705
|
+
state.questions = state.questions.map((qObject) => {
|
|
1706
|
+
let questionExistInLinkedToQuestion = false;
|
|
1707
|
+
if (qObject.dependsOnOtherQuestion !== void 0) {
|
|
1708
|
+
questionExistInLinkedToQuestion = qObject.dependsOnOtherQuestion.some(
|
|
1709
|
+
(innerArray) => innerArray.some((item) => item.LinkedToQuestionId === action.payload.id)
|
|
1710
|
+
);
|
|
1711
|
+
}
|
|
1712
|
+
const shouldClear = qObject.id > action.payload.id && !qObject.isDisplayed && qObject.dependsOnOtherQuestion !== void 0 && questionExistInLinkedToQuestion;
|
|
1713
|
+
if (shouldClear) {
|
|
1714
|
+
return {
|
|
1715
|
+
...qObject,
|
|
1716
|
+
answer: ""
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1719
|
+
return qObject;
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
extraReducers: (builder) => {
|
|
1724
|
+
if (options == null ? void 0 : options.extraReducers) {
|
|
1725
|
+
options.extraReducers(builder);
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
});
|
|
1729
|
+
return slice;
|
|
1730
|
+
};
|
|
1731
|
+
var makeQuestionsSelectors = (selectSlice) => {
|
|
1732
|
+
const selectStateQuestion = (state) => selectSlice(state);
|
|
1733
|
+
const selectIsQuestionLoaded = (state) => selectSlice(state).questionsLoaded;
|
|
1734
|
+
const selectApplicationContentFromLanguageSupport = (0, import_toolkit2.createSelector)(
|
|
1735
|
+
[
|
|
1736
|
+
(state) => selectSlice(state).applicationContent,
|
|
1737
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1738
|
+
],
|
|
1739
|
+
(applicationContent, activatedLanguage) => {
|
|
1740
|
+
var _a;
|
|
1741
|
+
const languageSupport = (_a = applicationContent == null ? void 0 : applicationContent.languageSupport) == null ? void 0 : _a.find(
|
|
1742
|
+
(lang) => lang.language === activatedLanguage
|
|
1743
|
+
);
|
|
1744
|
+
if (!languageSupport) {
|
|
1745
|
+
return {
|
|
1746
|
+
mainHeadline: "",
|
|
1747
|
+
ingressBody: "",
|
|
1748
|
+
linksForMoreInfo: [],
|
|
1749
|
+
pageTitle: "",
|
|
1750
|
+
textblocks: []
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
return {
|
|
1754
|
+
mainHeadline: languageSupport.mainHeadline,
|
|
1755
|
+
ingressBody: languageSupport.ingressBody,
|
|
1756
|
+
linksForMoreInfo: languageSupport.linksForMoreInfo,
|
|
1757
|
+
pageTitle: languageSupport.pageTitle,
|
|
1758
|
+
textblocks: languageSupport.textblocks,
|
|
1759
|
+
languageSupport: applicationContent == null ? void 0 : applicationContent.languageSupport
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
);
|
|
1763
|
+
const selectStepFromLanguageSupport = (0, import_toolkit2.createSelector)(
|
|
1764
|
+
[
|
|
1765
|
+
(state) => selectSlice(state).steps,
|
|
1766
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1767
|
+
],
|
|
1768
|
+
(steps, activatedLanguage) => {
|
|
1769
|
+
return steps.map((stepperObject) => {
|
|
1770
|
+
let languageSupport = stepperObject.languageSupport.find(
|
|
1771
|
+
(lang) => lang.language === activatedLanguage
|
|
1772
|
+
);
|
|
1773
|
+
if (!languageSupport) {
|
|
1774
|
+
languageSupport = {};
|
|
1775
|
+
}
|
|
1776
|
+
return {
|
|
1777
|
+
...stepperObject,
|
|
1778
|
+
stepHeadline: languageSupport.stepHeadline,
|
|
1779
|
+
stepDescription: languageSupport.stepDescription,
|
|
1780
|
+
shortNameInStepper: languageSupport.shortNameInStepper,
|
|
1781
|
+
shortNameInPreview: languageSupport.shortNameInPreview,
|
|
1782
|
+
pageTitle: languageSupport.pageTitle
|
|
1783
|
+
};
|
|
1784
|
+
});
|
|
1785
|
+
}
|
|
1786
|
+
);
|
|
1787
|
+
const selectQuestionFromLanguageSupport = (0, import_toolkit2.createSelector)(
|
|
1788
|
+
[
|
|
1789
|
+
(state) => selectSlice(state).questions,
|
|
1790
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1791
|
+
],
|
|
1792
|
+
(questions, activatedLanguage) => {
|
|
1793
|
+
return questions.map((qObject) => {
|
|
1794
|
+
let languageSupport = qObject.languageSupport.find(
|
|
1795
|
+
(lang) => lang.language === activatedLanguage
|
|
1796
|
+
);
|
|
1797
|
+
if (!languageSupport) {
|
|
1798
|
+
languageSupport = {};
|
|
1799
|
+
}
|
|
1800
|
+
return {
|
|
1801
|
+
...qObject,
|
|
1802
|
+
categoryLabel: languageSupport.categoryLabel,
|
|
1803
|
+
categoryDescription: languageSupport.categoryDescription,
|
|
1804
|
+
questionLabel: languageSupport.questionLabel,
|
|
1805
|
+
previewLabel: languageSupport.previewLabel,
|
|
1806
|
+
aboutText: languageSupport.aboutText,
|
|
1807
|
+
options: languageSupport.options,
|
|
1808
|
+
validationDefaultMessesege: languageSupport.validationDefaultMessesege,
|
|
1809
|
+
validationSummaryLabel: languageSupport.validationSummaryLabel
|
|
1810
|
+
};
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
);
|
|
1814
|
+
return {
|
|
1815
|
+
selectStateQuestion,
|
|
1816
|
+
selectIsQuestionLoaded,
|
|
1817
|
+
selectApplicationContentFromLanguageSupport,
|
|
1818
|
+
selectStepFromLanguageSupport,
|
|
1819
|
+
selectQuestionFromLanguageSupport
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
|
|
1639
1823
|
// src/NewRenderFormComponentStandard/RenderQuestion/RenderQuestion.tsx
|
|
1640
1824
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1641
1825
|
var RenderQuestion = ({
|
|
@@ -2927,5 +3111,7 @@ var CookieBanner_default = CookieBanner;
|
|
|
2927
3111
|
ValidationCheckAllVisibleQuestion,
|
|
2928
3112
|
ValidationErrorSummaryList,
|
|
2929
3113
|
createLanguageSlice,
|
|
2930
|
-
|
|
3114
|
+
createQuestionsSlice,
|
|
3115
|
+
makeLanguageSelectors,
|
|
3116
|
+
makeQuestionsSelectors
|
|
2931
3117
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1569,6 +1569,191 @@ var makeLanguageSelectors = (selectSlice) => {
|
|
|
1569
1569
|
};
|
|
1570
1570
|
};
|
|
1571
1571
|
|
|
1572
|
+
// src/NewHelpMethodsStandard/QuestionSlice/questionSlice.ts
|
|
1573
|
+
import {
|
|
1574
|
+
createSlice as createSlice2,
|
|
1575
|
+
createSelector as createSelector2
|
|
1576
|
+
} from "@reduxjs/toolkit";
|
|
1577
|
+
var createQuestionsSlice = (initialState, options) => {
|
|
1578
|
+
var _a;
|
|
1579
|
+
const slice = createSlice2({
|
|
1580
|
+
name: (_a = options == null ? void 0 : options.name) != null ? _a : "Form",
|
|
1581
|
+
initialState,
|
|
1582
|
+
reducers: {
|
|
1583
|
+
AddApplicationContentFromLanguageSupport: (state, action) => {
|
|
1584
|
+
state.applicationContent = action.payload;
|
|
1585
|
+
state.questionsLoaded = true;
|
|
1586
|
+
},
|
|
1587
|
+
AddStepsFromLanguageSupport: (state, action) => {
|
|
1588
|
+
state.steps = action.payload;
|
|
1589
|
+
},
|
|
1590
|
+
AddQuestionsFromLanguageSupport: (state, action) => {
|
|
1591
|
+
state.questions = action.payload;
|
|
1592
|
+
},
|
|
1593
|
+
AddAnswer: (state, action) => {
|
|
1594
|
+
state.questions = state.questions.map((qObject) => {
|
|
1595
|
+
if (qObject.id === action.payload.id) {
|
|
1596
|
+
return {
|
|
1597
|
+
...qObject,
|
|
1598
|
+
answer: action.payload.answer
|
|
1599
|
+
};
|
|
1600
|
+
}
|
|
1601
|
+
return qObject;
|
|
1602
|
+
});
|
|
1603
|
+
},
|
|
1604
|
+
AddFiles: (state, action) => {
|
|
1605
|
+
state.questions = state.questions.map((qObject) => {
|
|
1606
|
+
if (qObject.id === action.payload.id) {
|
|
1607
|
+
return {
|
|
1608
|
+
...qObject,
|
|
1609
|
+
files: action.payload.files
|
|
1610
|
+
};
|
|
1611
|
+
}
|
|
1612
|
+
return qObject;
|
|
1613
|
+
});
|
|
1614
|
+
},
|
|
1615
|
+
RemoveAllQuestionsDisplayedInStep: (state, action) => {
|
|
1616
|
+
const { activeStep } = action.payload;
|
|
1617
|
+
state.questions = state.questions.map((qObject) => {
|
|
1618
|
+
if (qObject.step >= activeStep) {
|
|
1619
|
+
return {
|
|
1620
|
+
...qObject,
|
|
1621
|
+
isDisplayed: false
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
return qObject;
|
|
1625
|
+
});
|
|
1626
|
+
},
|
|
1627
|
+
AddQuestionDisplayed: (state, action) => {
|
|
1628
|
+
state.questions = state.questions.map((qObject) => {
|
|
1629
|
+
if (qObject.id === action.payload.id) {
|
|
1630
|
+
return {
|
|
1631
|
+
...qObject,
|
|
1632
|
+
isDisplayed: action.payload.isDisplayed
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1635
|
+
return qObject;
|
|
1636
|
+
});
|
|
1637
|
+
},
|
|
1638
|
+
RemoveAllAnswersForward: (state, action) => {
|
|
1639
|
+
state.questions = state.questions.map((qObject) => {
|
|
1640
|
+
let questionExistInLinkedToQuestion = false;
|
|
1641
|
+
if (qObject.dependsOnOtherQuestion !== void 0) {
|
|
1642
|
+
questionExistInLinkedToQuestion = qObject.dependsOnOtherQuestion.some(
|
|
1643
|
+
(innerArray) => innerArray.some((item) => item.LinkedToQuestionId === action.payload.id)
|
|
1644
|
+
);
|
|
1645
|
+
}
|
|
1646
|
+
const shouldClear = qObject.id > action.payload.id && !qObject.isDisplayed && qObject.dependsOnOtherQuestion !== void 0 && questionExistInLinkedToQuestion;
|
|
1647
|
+
if (shouldClear) {
|
|
1648
|
+
return {
|
|
1649
|
+
...qObject,
|
|
1650
|
+
answer: ""
|
|
1651
|
+
};
|
|
1652
|
+
}
|
|
1653
|
+
return qObject;
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
extraReducers: (builder) => {
|
|
1658
|
+
if (options == null ? void 0 : options.extraReducers) {
|
|
1659
|
+
options.extraReducers(builder);
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
});
|
|
1663
|
+
return slice;
|
|
1664
|
+
};
|
|
1665
|
+
var makeQuestionsSelectors = (selectSlice) => {
|
|
1666
|
+
const selectStateQuestion = (state) => selectSlice(state);
|
|
1667
|
+
const selectIsQuestionLoaded = (state) => selectSlice(state).questionsLoaded;
|
|
1668
|
+
const selectApplicationContentFromLanguageSupport = createSelector2(
|
|
1669
|
+
[
|
|
1670
|
+
(state) => selectSlice(state).applicationContent,
|
|
1671
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1672
|
+
],
|
|
1673
|
+
(applicationContent, activatedLanguage) => {
|
|
1674
|
+
var _a;
|
|
1675
|
+
const languageSupport = (_a = applicationContent == null ? void 0 : applicationContent.languageSupport) == null ? void 0 : _a.find(
|
|
1676
|
+
(lang) => lang.language === activatedLanguage
|
|
1677
|
+
);
|
|
1678
|
+
if (!languageSupport) {
|
|
1679
|
+
return {
|
|
1680
|
+
mainHeadline: "",
|
|
1681
|
+
ingressBody: "",
|
|
1682
|
+
linksForMoreInfo: [],
|
|
1683
|
+
pageTitle: "",
|
|
1684
|
+
textblocks: []
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
return {
|
|
1688
|
+
mainHeadline: languageSupport.mainHeadline,
|
|
1689
|
+
ingressBody: languageSupport.ingressBody,
|
|
1690
|
+
linksForMoreInfo: languageSupport.linksForMoreInfo,
|
|
1691
|
+
pageTitle: languageSupport.pageTitle,
|
|
1692
|
+
textblocks: languageSupport.textblocks,
|
|
1693
|
+
languageSupport: applicationContent == null ? void 0 : applicationContent.languageSupport
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
);
|
|
1697
|
+
const selectStepFromLanguageSupport = createSelector2(
|
|
1698
|
+
[
|
|
1699
|
+
(state) => selectSlice(state).steps,
|
|
1700
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1701
|
+
],
|
|
1702
|
+
(steps, activatedLanguage) => {
|
|
1703
|
+
return steps.map((stepperObject) => {
|
|
1704
|
+
let languageSupport = stepperObject.languageSupport.find(
|
|
1705
|
+
(lang) => lang.language === activatedLanguage
|
|
1706
|
+
);
|
|
1707
|
+
if (!languageSupport) {
|
|
1708
|
+
languageSupport = {};
|
|
1709
|
+
}
|
|
1710
|
+
return {
|
|
1711
|
+
...stepperObject,
|
|
1712
|
+
stepHeadline: languageSupport.stepHeadline,
|
|
1713
|
+
stepDescription: languageSupport.stepDescription,
|
|
1714
|
+
shortNameInStepper: languageSupport.shortNameInStepper,
|
|
1715
|
+
shortNameInPreview: languageSupport.shortNameInPreview,
|
|
1716
|
+
pageTitle: languageSupport.pageTitle
|
|
1717
|
+
};
|
|
1718
|
+
});
|
|
1719
|
+
}
|
|
1720
|
+
);
|
|
1721
|
+
const selectQuestionFromLanguageSupport = createSelector2(
|
|
1722
|
+
[
|
|
1723
|
+
(state) => selectSlice(state).questions,
|
|
1724
|
+
(_, activatedLanguage) => activatedLanguage
|
|
1725
|
+
],
|
|
1726
|
+
(questions, activatedLanguage) => {
|
|
1727
|
+
return questions.map((qObject) => {
|
|
1728
|
+
let languageSupport = qObject.languageSupport.find(
|
|
1729
|
+
(lang) => lang.language === activatedLanguage
|
|
1730
|
+
);
|
|
1731
|
+
if (!languageSupport) {
|
|
1732
|
+
languageSupport = {};
|
|
1733
|
+
}
|
|
1734
|
+
return {
|
|
1735
|
+
...qObject,
|
|
1736
|
+
categoryLabel: languageSupport.categoryLabel,
|
|
1737
|
+
categoryDescription: languageSupport.categoryDescription,
|
|
1738
|
+
questionLabel: languageSupport.questionLabel,
|
|
1739
|
+
previewLabel: languageSupport.previewLabel,
|
|
1740
|
+
aboutText: languageSupport.aboutText,
|
|
1741
|
+
options: languageSupport.options,
|
|
1742
|
+
validationDefaultMessesege: languageSupport.validationDefaultMessesege,
|
|
1743
|
+
validationSummaryLabel: languageSupport.validationSummaryLabel
|
|
1744
|
+
};
|
|
1745
|
+
});
|
|
1746
|
+
}
|
|
1747
|
+
);
|
|
1748
|
+
return {
|
|
1749
|
+
selectStateQuestion,
|
|
1750
|
+
selectIsQuestionLoaded,
|
|
1751
|
+
selectApplicationContentFromLanguageSupport,
|
|
1752
|
+
selectStepFromLanguageSupport,
|
|
1753
|
+
selectQuestionFromLanguageSupport
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
|
|
1572
1757
|
// src/NewRenderFormComponentStandard/RenderQuestion/RenderQuestion.tsx
|
|
1573
1758
|
import { Fragment as Fragment12, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1574
1759
|
var RenderQuestion = ({
|
|
@@ -2859,5 +3044,7 @@ export {
|
|
|
2859
3044
|
ValidationCheckAllVisibleQuestion_default as ValidationCheckAllVisibleQuestion,
|
|
2860
3045
|
ValidationErrorSummaryList_default as ValidationErrorSummaryList,
|
|
2861
3046
|
createLanguageSlice,
|
|
2862
|
-
|
|
3047
|
+
createQuestionsSlice,
|
|
3048
|
+
makeLanguageSelectors,
|
|
3049
|
+
makeQuestionsSelectors
|
|
2863
3050
|
};
|
package/package.json
CHANGED