optimized-react-component-library-xyz123 3.4.1 → 3.4.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/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +2402 -2372
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2432 -2403
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/styles.css +13 -0
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import * as reselect from 'reselect';
|
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
4
|
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
5
5
|
import * as immer from 'immer';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
8
|
interface IApplicationContent {
|
|
8
9
|
headline?: string;
|
|
@@ -12,6 +13,7 @@ interface IApplicationContent {
|
|
|
12
13
|
pageTitle?: string;
|
|
13
14
|
textblocks?: Array<ITextBlock>;
|
|
14
15
|
textAboveStartButton?: string;
|
|
16
|
+
textSections?: Array<ITextBlock>;
|
|
15
17
|
languageSupport: [
|
|
16
18
|
{
|
|
17
19
|
language: string;
|
|
@@ -20,6 +22,7 @@ interface IApplicationContent {
|
|
|
20
22
|
linksForMoreInfo: Array<IPTSLink>;
|
|
21
23
|
pageTitle: string;
|
|
22
24
|
textblocks: Array<ITextBlock>;
|
|
25
|
+
textSections?: Array<ITextBlock>;
|
|
23
26
|
textAboveStartButton?: string;
|
|
24
27
|
}
|
|
25
28
|
];
|
|
@@ -517,6 +520,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
517
520
|
pageTitle: string;
|
|
518
521
|
textblocks: never[];
|
|
519
522
|
textAboveStartButton: string;
|
|
523
|
+
textSections?: undefined;
|
|
520
524
|
languageSupport?: undefined;
|
|
521
525
|
} | {
|
|
522
526
|
headline: any;
|
|
@@ -524,6 +528,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
524
528
|
linksForMoreInfo: any;
|
|
525
529
|
pageTitle: any;
|
|
526
530
|
textblocks: any;
|
|
531
|
+
textSections: any;
|
|
527
532
|
languageSupport: any;
|
|
528
533
|
textAboveStartButton: any;
|
|
529
534
|
}) & {
|
|
@@ -538,6 +543,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
538
543
|
pageTitle: string;
|
|
539
544
|
textblocks: never[];
|
|
540
545
|
textAboveStartButton: string;
|
|
546
|
+
textSections?: undefined;
|
|
541
547
|
languageSupport?: undefined;
|
|
542
548
|
} | {
|
|
543
549
|
headline: any;
|
|
@@ -545,6 +551,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
545
551
|
linksForMoreInfo: any;
|
|
546
552
|
pageTitle: any;
|
|
547
553
|
textblocks: any;
|
|
554
|
+
textSections: any;
|
|
548
555
|
languageSupport: any;
|
|
549
556
|
textAboveStartButton: any;
|
|
550
557
|
};
|
|
@@ -555,6 +562,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
555
562
|
pageTitle: string;
|
|
556
563
|
textblocks: never[];
|
|
557
564
|
textAboveStartButton: string;
|
|
565
|
+
textSections?: undefined;
|
|
558
566
|
languageSupport?: undefined;
|
|
559
567
|
} | {
|
|
560
568
|
headline: any;
|
|
@@ -562,6 +570,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
562
570
|
linksForMoreInfo: any;
|
|
563
571
|
pageTitle: any;
|
|
564
572
|
textblocks: any;
|
|
573
|
+
textSections: any;
|
|
565
574
|
languageSupport: any;
|
|
566
575
|
textAboveStartButton: any;
|
|
567
576
|
}) & {
|
|
@@ -576,6 +585,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
576
585
|
pageTitle: string;
|
|
577
586
|
textblocks: never[];
|
|
578
587
|
textAboveStartButton: string;
|
|
588
|
+
textSections?: undefined;
|
|
579
589
|
languageSupport?: undefined;
|
|
580
590
|
} | {
|
|
581
591
|
headline: any;
|
|
@@ -583,6 +593,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
583
593
|
linksForMoreInfo: any;
|
|
584
594
|
pageTitle: any;
|
|
585
595
|
textblocks: any;
|
|
596
|
+
textSections: any;
|
|
586
597
|
languageSupport: any;
|
|
587
598
|
textAboveStartButton: any;
|
|
588
599
|
};
|
|
@@ -953,6 +964,14 @@ interface TextBodyProps {
|
|
|
953
964
|
|
|
954
965
|
declare const TextBody: FC<TextBodyProps>;
|
|
955
966
|
|
|
967
|
+
type ITextSection = Pick<ITextBlock, 'id' | 'headline' | 'body' | 'linksForMoreInfo'>;
|
|
968
|
+
interface TextSectionProps {
|
|
969
|
+
sections: ITextSection[];
|
|
970
|
+
headlineType?: 'h2' | 'h3';
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare const TextSections: ({ sections, headlineType: Heading }: TextSectionProps) => react_jsx_runtime.JSX.Element | undefined;
|
|
974
|
+
|
|
956
975
|
interface EditPreviewLinkProps {
|
|
957
976
|
step: IStepObject;
|
|
958
977
|
changeStepHandler: any;
|
|
@@ -1078,4 +1097,4 @@ interface FormStatusMessagesProps {
|
|
|
1078
1097
|
*/
|
|
1079
1098
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1080
1099
|
|
|
1081
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|
|
1100
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, TextSections, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as reselect from 'reselect';
|
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
4
|
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
5
5
|
import * as immer from 'immer';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
8
|
interface IApplicationContent {
|
|
8
9
|
headline?: string;
|
|
@@ -12,6 +13,7 @@ interface IApplicationContent {
|
|
|
12
13
|
pageTitle?: string;
|
|
13
14
|
textblocks?: Array<ITextBlock>;
|
|
14
15
|
textAboveStartButton?: string;
|
|
16
|
+
textSections?: Array<ITextBlock>;
|
|
15
17
|
languageSupport: [
|
|
16
18
|
{
|
|
17
19
|
language: string;
|
|
@@ -20,6 +22,7 @@ interface IApplicationContent {
|
|
|
20
22
|
linksForMoreInfo: Array<IPTSLink>;
|
|
21
23
|
pageTitle: string;
|
|
22
24
|
textblocks: Array<ITextBlock>;
|
|
25
|
+
textSections?: Array<ITextBlock>;
|
|
23
26
|
textAboveStartButton?: string;
|
|
24
27
|
}
|
|
25
28
|
];
|
|
@@ -517,6 +520,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
517
520
|
pageTitle: string;
|
|
518
521
|
textblocks: never[];
|
|
519
522
|
textAboveStartButton: string;
|
|
523
|
+
textSections?: undefined;
|
|
520
524
|
languageSupport?: undefined;
|
|
521
525
|
} | {
|
|
522
526
|
headline: any;
|
|
@@ -524,6 +528,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
524
528
|
linksForMoreInfo: any;
|
|
525
529
|
pageTitle: any;
|
|
526
530
|
textblocks: any;
|
|
531
|
+
textSections: any;
|
|
527
532
|
languageSupport: any;
|
|
528
533
|
textAboveStartButton: any;
|
|
529
534
|
}) & {
|
|
@@ -538,6 +543,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
538
543
|
pageTitle: string;
|
|
539
544
|
textblocks: never[];
|
|
540
545
|
textAboveStartButton: string;
|
|
546
|
+
textSections?: undefined;
|
|
541
547
|
languageSupport?: undefined;
|
|
542
548
|
} | {
|
|
543
549
|
headline: any;
|
|
@@ -545,6 +551,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
545
551
|
linksForMoreInfo: any;
|
|
546
552
|
pageTitle: any;
|
|
547
553
|
textblocks: any;
|
|
554
|
+
textSections: any;
|
|
548
555
|
languageSupport: any;
|
|
549
556
|
textAboveStartButton: any;
|
|
550
557
|
};
|
|
@@ -555,6 +562,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
555
562
|
pageTitle: string;
|
|
556
563
|
textblocks: never[];
|
|
557
564
|
textAboveStartButton: string;
|
|
565
|
+
textSections?: undefined;
|
|
558
566
|
languageSupport?: undefined;
|
|
559
567
|
} | {
|
|
560
568
|
headline: any;
|
|
@@ -562,6 +570,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
562
570
|
linksForMoreInfo: any;
|
|
563
571
|
pageTitle: any;
|
|
564
572
|
textblocks: any;
|
|
573
|
+
textSections: any;
|
|
565
574
|
languageSupport: any;
|
|
566
575
|
textAboveStartButton: any;
|
|
567
576
|
}) & {
|
|
@@ -576,6 +585,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
576
585
|
pageTitle: string;
|
|
577
586
|
textblocks: never[];
|
|
578
587
|
textAboveStartButton: string;
|
|
588
|
+
textSections?: undefined;
|
|
579
589
|
languageSupport?: undefined;
|
|
580
590
|
} | {
|
|
581
591
|
headline: any;
|
|
@@ -583,6 +593,7 @@ declare const makeFormSelectors: <TState>(selectSlice: (state: TState) => IFormS
|
|
|
583
593
|
linksForMoreInfo: any;
|
|
584
594
|
pageTitle: any;
|
|
585
595
|
textblocks: any;
|
|
596
|
+
textSections: any;
|
|
586
597
|
languageSupport: any;
|
|
587
598
|
textAboveStartButton: any;
|
|
588
599
|
};
|
|
@@ -953,6 +964,14 @@ interface TextBodyProps {
|
|
|
953
964
|
|
|
954
965
|
declare const TextBody: FC<TextBodyProps>;
|
|
955
966
|
|
|
967
|
+
type ITextSection = Pick<ITextBlock, 'id' | 'headline' | 'body' | 'linksForMoreInfo'>;
|
|
968
|
+
interface TextSectionProps {
|
|
969
|
+
sections: ITextSection[];
|
|
970
|
+
headlineType?: 'h2' | 'h3';
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare const TextSections: ({ sections, headlineType: Heading }: TextSectionProps) => react_jsx_runtime.JSX.Element | undefined;
|
|
974
|
+
|
|
956
975
|
interface EditPreviewLinkProps {
|
|
957
976
|
step: IStepObject;
|
|
958
977
|
changeStepHandler: any;
|
|
@@ -1078,4 +1097,4 @@ interface FormStatusMessagesProps {
|
|
|
1078
1097
|
*/
|
|
1079
1098
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1080
1099
|
|
|
1081
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|
|
1100
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, TextSections, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|